package cn.zzuli.springcloud.service;

import cn.zzuli.commons.entity.CommonResult;
import cn.zzuli.commons.entity.Payment;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PathVariable;


public interface PaymentService {
    CommonResult create(Payment payment);

    CommonResult<Payment> getPayMentById(@Param("id") Long id);

    String paymentInfo_OK(Long id);

    String paymentInfo_TimeOut(Long id);
    public String paymentCircuitBreaker(@PathVariable("id") Integer id);
}
